﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Resources;
using System.Windows.Forms;
using DevExpress.LookAndFeel;
using Tabber.Forms;
using Tabber.Model;
using Tabber.Util;

namespace Tabber
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DevExpress.Skins.SkinManager.EnableFormSkins();
            DevExpress.UserSkins.BonusSkins.Register();
            UserLookAndFeel.Default.SetSkinStyle("Xmas 2008 Blue");

            // Set ngon ngu va form khoi tao
            TabberCommon.SetLanguage(Localization.Vietnamese);
            TabberCommon.InitForm = new AgentManagement();

            Application.Run(TabberCommon.InitForm);
        }
    }
}